package org.applet.game.app.rpg.resource;

import java.awt.Image;

import org.applet.game.framework.util.ImageLoader;



public class ImageResource{

	Image image;
	
	String resourceUrl;

	public ImageResource(String resourceUrl)
	{
		this.resourceUrl = resourceUrl;
	}

	public void load()
	{
		image = ImageLoader.loadImage(resourceUrl);
	}
	
	public Image getImage() {
		return image;
	}
	
}
